#pragma once

#include <vector>
#include "Vector3.h"
#include "Object.h"
#include "GrassBlade.h"

using namespace std;

class GrassPatch : public Object
{
private:
	vector<GrassBlade*> blades;
	Vector3 normals[4];
	Point3D points[4];

	void setGroundColorMaterial();
	float distanceToCamera();

public:
	GrassPatch(Point3D points[4], int numOfBlades, float size, Vector3 normals[4]);
	void draw();
	void update(float delta);
};
